<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>TP1-Algo: Référence du fichier TesteurLabyrintheS.cpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TP1-Algo
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_testeur_labyrinthe_s_8cpp.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier TesteurLabyrintheS.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;gtest/gtest.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="_labyrinthe_8h_source.html">Labyrinthe.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de TesteurLabyrintheS.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="_testeur_labyrinthe_s_8cpp__incl.png" border="0" usemap="#_testeur_labyrinthe_s_8cpp" alt=""/></div>
<map name="_testeur_labyrinthe_s_8cpp" id="_testeur_labyrinthe_s_8cpp">
</map>
</div>
</div>
<p><a href="_testeur_labyrinthe_s_8cpp_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a9fe029b3fa0bea3f24ba45fd80ead08c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_testeur_labyrinthe_s_8cpp.html#a9fe029b3fa0bea3f24ba45fd80ead08c">TEST</a> (<a class="el" href="class_t_p1_1_1_labyrinthe.html">Labyrinthe</a>, _mettreParcourueAFaux_LabyrintheVide)</td></tr>
<tr class="memdesc:a9fe029b3fa0bea3f24ba45fd80ead08c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test: Vérifie que _mettreParcourueAFaux met bien tous les attributs parcourue à faux dans une liste.  <a href="#a9fe029b3fa0bea3f24ba45fd80ead08c">Plus de détails...</a><br/></td></tr>
<tr class="separator:a9fe029b3fa0bea3f24ba45fd80ead08c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d2ad18b9bbea35acb7ffada1fa6fb4a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_testeur_labyrinthe_s_8cpp.html#a6d2ad18b9bbea35acb7ffada1fa6fb4a">TEST</a> (<a class="el" href="class_t_p1_1_1_labyrinthe.html">Labyrinthe</a>, _mettreParcourueAFaux_Labyrinthe1Piece)</td></tr>
<tr class="separator:a6d2ad18b9bbea35acb7ffada1fa6fb4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Documentation des fonctions</h2>
<a class="anchor" id="a9fe029b3fa0bea3f24ba45fd80ead08c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p1_1_1_labyrinthe.html">Labyrinthe</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">_mettreParcourueAFaux_LabyrintheVide&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test: Vérifie que _mettreParcourueAFaux met bien tous les attributs parcourue à faux dans une liste. </p>
<p>Cas valide: -Labyrinthe avec 0 pièces, ne fait rien, unsplit ([1;3;4;8],[3;2;4;1]);; retourne normalement -Avec 1 pièce -Avec plus que 1 pièces</p>
<p>Cas invalide: </p>

<p>Définition à la ligne <a class="el" href="_testeur_labyrinthe_s_8cpp_source.html#l00025">25</a> du fichier <a class="el" href="_testeur_labyrinthe_s_8cpp_source.html">TesteurLabyrintheS.cpp</a>.</p>

<p>Références <a class="el" href="_labyrinthe_8cpp_source.html#l00521">TP1::Labyrinthe::_mettreParcourueAFaux()</a>.</p>
<div class="fragment"><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;{</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <a class="code" href="class_t_p1_1_1_labyrinthe.html">Labyrinthe</a> lab;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    ASSERT_NO_THROW(lab.<a class="code" href="class_t_p1_1_1_labyrinthe.html#a7e3d3b3164b40651295d0bc49047fa18">_mettreParcourueAFaux</a>());</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="comment">//rien de spécial à vérifier, la méthode doit juste rouler normalement.</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;}</div>
<div class="ttc" id="class_t_p1_1_1_labyrinthe_html"><div class="ttname"><a href="class_t_p1_1_1_labyrinthe.html">TP1::Labyrinthe</a></div><div class="ttdef"><b>Definition:</b> <a href="_labyrinthe_8h_source.html#l00031">Labyrinthe.h:31</a></div></div>
<div class="ttc" id="class_t_p1_1_1_labyrinthe_html_a7e3d3b3164b40651295d0bc49047fa18"><div class="ttname"><a href="class_t_p1_1_1_labyrinthe.html#a7e3d3b3164b40651295d0bc49047fa18">TP1::Labyrinthe::_mettreParcourueAFaux</a></div><div class="ttdeci">void _mettreParcourueAFaux()</div><div class="ttdoc">mets l&#39;attribut parcourue à faux pour chaque piece dans le labyrinthe </div><div class="ttdef"><b>Definition:</b> <a href="_labyrinthe_8cpp_source.html#l00521">Labyrinthe.cpp:521</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_testeur_labyrinthe_s_8cpp_a9fe029b3fa0bea3f24ba45fd80ead08c_cgraph.png" border="0" usemap="#_testeur_labyrinthe_s_8cpp_a9fe029b3fa0bea3f24ba45fd80ead08c_cgraph" alt=""/></div>
<map name="_testeur_labyrinthe_s_8cpp_a9fe029b3fa0bea3f24ba45fd80ead08c_cgraph" id="_testeur_labyrinthe_s_8cpp_a9fe029b3fa0bea3f24ba45fd80ead08c_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6d2ad18b9bbea35acb7ffada1fa6fb4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p1_1_1_labyrinthe.html">Labyrinthe</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">_mettreParcourueAFaux_Labyrinthe1Piece&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_testeur_labyrinthe_s_8cpp_source.html#l00032">32</a> du fichier <a class="el" href="_testeur_labyrinthe_s_8cpp_source.html">TesteurLabyrintheS.cpp</a>.</p>

<p>Références <a class="el" href="_labyrinthe_8cpp_source.html#l00521">TP1::Labyrinthe::_mettreParcourueAFaux()</a>, <a class="el" href="_labyrinthe_8cpp_source.html#l00079">TP1::Labyrinthe::ajoutePieceLabyrinthe()</a>, <a class="el" href="_piece_8cpp_source.html#l00090">TP1::Piece::getParcourue()</a>, et <a class="el" href="_piece_8cpp_source.html#l00080">TP1::Piece::setParcourue()</a>.</p>
<div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="class_t_p1_1_1_labyrinthe.html">Labyrinthe</a> lab;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="class_t_p1_1_1_piece.html">Piece</a> pc(<span class="stringliteral">&quot;p1&quot;</span>);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    pc.setParcourue(<span class="keyword">true</span>);</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    lab.<a class="code" href="class_t_p1_1_1_labyrinthe.html#a7297e9340033b8402836ced30e5c96e0">ajoutePieceLabyrinthe</a>(pc);</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="comment">//pc.setParcourue(true);</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    lab.<a class="code" href="class_t_p1_1_1_labyrinthe.html#a7e3d3b3164b40651295d0bc49047fa18">_mettreParcourueAFaux</a>();</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    ASSERT_FALSE(pc.getParcourue());</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">//  ASSERT_TRUE(pc.getParcourue());         //seulement pour des tests de debug</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}</div>
<div class="ttc" id="class_t_p1_1_1_labyrinthe_html_a7297e9340033b8402836ced30e5c96e0"><div class="ttname"><a href="class_t_p1_1_1_labyrinthe.html#a7297e9340033b8402836ced30e5c96e0">TP1::Labyrinthe::ajoutePieceLabyrinthe</a></div><div class="ttdeci">void ajoutePieceLabyrinthe(Piece &amp;p)</div><div class="ttdoc">Permet d&#39;ajouter une pièce au labyrinthe. </div><div class="ttdef"><b>Definition:</b> <a href="_labyrinthe_8cpp_source.html#l00079">Labyrinthe.cpp:79</a></div></div>
<div class="ttc" id="class_t_p1_1_1_labyrinthe_html"><div class="ttname"><a href="class_t_p1_1_1_labyrinthe.html">TP1::Labyrinthe</a></div><div class="ttdef"><b>Definition:</b> <a href="_labyrinthe_8h_source.html#l00031">Labyrinthe.h:31</a></div></div>
<div class="ttc" id="class_t_p1_1_1_piece_html"><div class="ttname"><a href="class_t_p1_1_1_piece.html">TP1::Piece</a></div><div class="ttdoc">Piece dans un labyrinthe ayant un nom unique et une liste de portes qui partent de cette pièce...</div><div class="ttdef"><b>Definition:</b> <a href="_piece_8h_source.html#l00028">Piece.h:28</a></div></div>
<div class="ttc" id="class_t_p1_1_1_labyrinthe_html_a7e3d3b3164b40651295d0bc49047fa18"><div class="ttname"><a href="class_t_p1_1_1_labyrinthe.html#a7e3d3b3164b40651295d0bc49047fa18">TP1::Labyrinthe::_mettreParcourueAFaux</a></div><div class="ttdeci">void _mettreParcourueAFaux()</div><div class="ttdoc">mets l&#39;attribut parcourue à faux pour chaque piece dans le labyrinthe </div><div class="ttdef"><b>Definition:</b> <a href="_labyrinthe_8cpp_source.html#l00521">Labyrinthe.cpp:521</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_testeur_labyrinthe_s_8cpp_a6d2ad18b9bbea35acb7ffada1fa6fb4a_cgraph.png" border="0" usemap="#_testeur_labyrinthe_s_8cpp_a6d2ad18b9bbea35acb7ffada1fa6fb4a_cgraph" alt=""/></div>
<map name="_testeur_labyrinthe_s_8cpp_a6d2ad18b9bbea35acb7ffada1fa6fb4a_cgraph" id="_testeur_labyrinthe_s_8cpp_a6d2ad18b9bbea35acb7ffada1fa6fb4a_cgraph">
</map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_testeur_labyrinthe_s_8cpp.html">TesteurLabyrintheS.cpp</a></li>
    <li class="footer">Généré le Dimanche 8 Juin 2014 19:37:05 pour TP1-Algo par
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
